package shop.entity;

import java.util.Date;

import lombok.Data;

@Data
public class BaseOrder {

	private int id;
	private int userId;
	private String account;
	private String userAddress;
	private Date createTime;
	private double amount;
	private String orderNo;
	private String name;
	private String phone;
	private String status;
	public BaseOrder() {
		super();
	}
	public BaseOrder(int id, int userId, String account, String userAddress, Date createTime, double amount,
			String orderNo, String name, String phone, String status) {
		super();
		this.id = id;
		this.userId = userId;
		this.account = account;
		this.userAddress = userAddress;
		this.createTime = createTime;
		this.amount = amount;
		this.orderNo = orderNo;
		this.name = name;
		this.phone = phone;
		this.status = status;
	}
	public BaseOrder(int userId, String account, String userAddress, Date createTime, double amount, String orderNo,
			String name, String phone, String status) {
		super();
		this.userId = userId;
		this.account = account;
		this.userAddress = userAddress;
		this.createTime = createTime;
		this.amount = amount;
		this.orderNo = orderNo;
		this.name = name;
		this.phone = phone;
		this.status = status;
	}
	
	
}
